]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Calendar: Remove leading zeros for 24h time format
authorBastien Nocera <hadess@hadess.net>
Fri, 7 Nov 2014 13:58:22 +0000 (14:58 +0100)
committerBastien Nocera <hadess@hadess.net>
Fri, 7 Nov 2014 13:58:22 +0000 (14:58 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=658675

js/ui/calendar.js

index e639ef739c1ce278196e2fab52a23a6f54e3525e..bb78622a91faa4ba819b75c2385145dcb405127f 100644 (file)
@@ -74,7 +74,7 @@ function _formatEventTime(event, clockFormat, periodBegin, periodEnd) {
         case '24h':
             /* Translators: Shown in calendar event list, if 24h format,
                \u2236 is a ratio character, similar to : */
-            ret = date.toLocaleFormat(C_("event list time", "%H\u2236%M"));
+            ret = date.toLocaleFormat(C_("event list time", "%k\u2236%M"));
             break;
 
         default: